package com.lzh.xianguang.mapper;

import com.lzh.xianguang.model.UsersInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Question UsersMapper
 * @Date 2023/3/5 10:03
 * @Solution
 */
@Mapper
public interface UsersMapper {
    public int add(@Param("avatarUrl") String avatarUrl,@Param("nickname") String nickname,@Param("phone") String phone
    ,@Param("password") String password);
    public UsersInfo getByPhone(@Param("phone") String phone,@Param("password") String password);
}
